package kr.co.insoft.core.mapper.configration.vender;

import java.util.List;

import kr.co.insoft.core.model.configration.vender.VenderEntityModel;
import kr.co.insoft.core.model.configration.vender.VenderTypeEntityModel;
import kr.co.insoft.core.model.paging.PagingModel;
import kr.co.insoft.framework.mapper.UUIDMapper;
import kr.co.insoft.framework.mybatis.Mapper;

@Mapper
public interface VenderMapper extends UUIDMapper {

	/**
	 * Vender 목록
	 * 
	 * @param pagingModel
	 * @return
	 * @throws Exception
	 */
	public List<VenderEntityModel> getLists(PagingModel pagingModel);

	/**
	 * Vender 목록
	 * 
	 * @param pagingModel
	 * @return
	 * @throws Exception
	 */
	public List<VenderEntityModel> getList(VenderEntityModel venderEntityModel);

	/**
	 * Vender 전체 카운트
	 * 
	 * @param pagingModel
	 * @return
	 * @throws Exception
	 */
	public int getTotalCount(PagingModel pagingModel);

	/**
	 * Vender 생성
	 * 
	 * @param venderEntityModel
	 * @throws Exception
	 */
	public void createVender(VenderEntityModel venderEntityModel);

	/**
	 * Vender 조회
	 * 
	 * @param venderEntityModel
	 * @return
	 * @throws Exception
	 */
	public VenderEntityModel getVender(VenderEntityModel venderEntityModel);

	/**
	 * Vender 수정
	 * 
	 * @param venderEntityModel
	 * @throws Exception
	 */
	public void editVender(VenderEntityModel venderEntityModel);

	/**
	 * Vender 삭제
	 * 
	 * @param venderEntityModel
	 * @throws Exception
	 */
	public void removeVender(VenderEntityModel venderEntityModel);

	/**
	 * Vender Type 생성
	 * 
	 * @param venderTypeEntityModel
	 * @throws Exception
	 */
	public void addVenderType(VenderTypeEntityModel venderTypeEntityModel);

	/**
	 * Vender Type 삭제
	 * 
	 * @throws Exception
	 */
	public void deleteVenderType();

	/**
	 * Vender Name 중복 체크
	 * 
	 * @throws Exception
	 */
	public int isExistsVenderName(VenderEntityModel venderEntityModel);
}
